package com.ruoyi.service.domain;

import com.ruoyi.basics.domain.User;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;
import java.util.List;

/**
 * 电量电费录入数据基础表 service_basics
 * 
 * @author wangbing
 * @date 2019-01-02
 */
public class Basics extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 直购电用户ID */
	private Integer userId;
	/** 操作人 */
	private Long operationUserId;
	/** 数据名称 */
	private String name;
	/** 结算日期 */
	private Date resultDate;
	/** 电压等级(数据字典) */
	private String voltageGrade;
	/** 目录电价明细类别（数据字典） */
	private String priceDetailType;
	/** 操作日期 */
	private Date operationDate;

	private User user;

	private String eleAccount;
	private String dHPrice;
	private String dHAccount;

	public String getEleAccount() {
		return eleAccount;
	}

	public void setEleAccount(String eleAccount) {
		this.eleAccount = eleAccount;
	}

	public String getdHPrice() {
		return dHPrice;
	}

	public void setdHPrice(String dHPrice) {
		this.dHPrice = dHPrice;
	}

	public String getdHAccount() {
		return dHAccount;
	}

	public void setdHAccount(String dHAccount) {
		this.dHAccount = dHAccount;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setOperationUserId(Long operationUserId)
	{
		this.operationUserId = operationUserId;
	}

	public Long getOperationUserId()
	{
		return operationUserId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setResultDate(Date resultDate) 
	{
		this.resultDate = resultDate;
	}

	public Date getResultDate() 
	{
		return resultDate;
	}
	public void setVoltageGrade(String voltageGrade) 
	{
		this.voltageGrade = voltageGrade;
	}

	public String getVoltageGrade() 
	{
		return voltageGrade;
	}
	public void setPriceDetailType(String priceDetailType) 
	{
		this.priceDetailType = priceDetailType;
	}

	public String getPriceDetailType() 
	{
		return priceDetailType;
	}
	public void setOperationDate(Date operationDate) 
	{
		this.operationDate = operationDate;
	}

	public Date getOperationDate() 
	{
		return operationDate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("operationUserId", getOperationUserId())
            .append("name", getName())
            .append("resultDate", getResultDate())
            .append("voltageGrade", getVoltageGrade())
            .append("priceDetailType", getPriceDetailType())
            .append("operationDate", getOperationDate())
            .toString();
    }
}
